#include <QCoreApplication>
#include <iostream>
using namespace std;
int main()
{
int C,B,A;
cout << "A=";
cin >>A;
cout << "B=";
cin >>B;
cout << "C=";
cin >>C;
cout <<"Otvet: "<< endl;
if ((A<C)&&(A<B))
{
    if (B<C)
    {
        cout <<"A="<< A << endl;
        cout <<"C="<< C << endl;
    }
    if (C<B)
    {
        cout <<"A="<< A << endl;
        cout <<"B="<< B << endl;
     }
}
if ((B<A)&&(B<C))
{
    if (A<C)
    {
        cout <<"B="<< B << endl;
        cout <<"C="<< C << endl;
    }
    if (C<A)
    {
        cout <<"B="<< B << endl;
        cout <<"A="<< A << endl;
     }
}
if ((C<A)&&(C<B))
{
    if (B<A)
    {
        cout <<"C="<< C << endl;
        cout <<"A="<< A << endl;
    }
    if (A<B)
    {
        cout <<"C="<< C << endl;
        cout <<"B="<< B << endl;
     }
}
return 0;
}



